package org.stone.project.common.pojo.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 添加方法日志
 */
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface LogMethod {
    boolean recordMethod() default true;

    boolean recordUsername() default false;

    boolean recordParam() default true;

    boolean recordReturn() default true;
}
